
import request from '@/utils/request';
import { stringify } from 'qs';

export default {
	//查询店铺分组列表
	queryShopGroups(params) {
		return request(`/blade-goods/ecStoreSearchGroup/queryGroups?${stringify(params)}`);
	},

	//更新店铺分组信息
	updateShopGroups(params) {
		return request(`/blade-goods/ecStoreSearchGroup/insertAndUpdateGroups`, {
			method: 'post',
			data: params
		});
	}
}

